
/* 更改头部 */
header {
	color: var(--colorGray);
	border-bottom: 1px solid #aec7ec;
}
header li.on a {
	color: var(--colorItem);
}
header h1 {
	background: url(../imgs/loginlogo.png) no-repeat center;
}
header li.on::after {
	background: var(--colorItem);
}
header .container div span {
	border: 1px solid var(--colorGray);
}
header .container div span:last-child {
	color: #fff;
}
main {
	padding-top: 90px;
}
header ul {
	width: 325px;
}
/* 主体main */
/* API分类 */
.APICatch {
	height: 260px;
}
.APICatch h2 {
	font-size: 25px;
	line-height: 76px;
}
.APICatch ul {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 58px;
}
.APICatch li {
	font-size: 12px;
	padding: 5px 10px;
	border: 1px solid #f2f2f2;
	border-radius: 10px;
	margin-right: 10px;
	margin-bottom: 10px;
}
.APICatch > div div {
	font-size: 12px;
}
.APICatch > div input {
	border: none;
	background: #f4f4f4;
	width: 230px;
	height: 30px;
	margin-left: 20px;
	border-radius: 25px;
	outline: none;
	padding-left: 10px;
	box-sizing: border-box;
}
.APICatch > div input::placeholder {
	color: #9f968b;
}
/* 激活样式 */
.APICatch li.active {
	color: var(--colorItem);
	border: 1px solid var(--colorItem);
}
/* 卡片 */
.APICards ul {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}
.APICards li {
	width: 230px;
	height: 271px;
	border: 1px solid #eee;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: var(--colorGray);
	font-size: 12px;
	margin-right: 8px;
	margin-bottom: 10px;
	position: relative;
	overflow: hidden;
}
.APICards li p:nth-child(2) {
	margin: 20px 0 10px 0;
}
.APICards li p:nth-child(3) {
	color: #67c2a6;
	font-size: 14px;
}
.APICards li .red {
	color: red !important;
}
/* 鼠标移入效果 */
.APICards li a {
	width: 193px;
	height: 33px;
	background: var(--colorItem);
	position: absolute;
	bottom: -40px;
	text-align: center;
	line-height: 33px;
	color: #fff;
	transition: bottom 0.5s;
}
.APICards li:hover a {
	bottom: 20px;
}
.APICards li span {
	position: absolute;
	color: var(--colorItem);
	background: #e5f8ff;
	width: 60px;
	height: 22px;
	line-height: 22px;
	top: 13px;
	left: 11px;
}
#pagination {
	width: 100%;
	height: 200px;
}

#pagination ul {
	display: flex;
	justify-content: space-evenly;
	align-items: center;
	margin: 0 auto;
	width: 300px;
}

#pagination ul li {
	width: 30px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	font-size: 16px;
	border-radius: 50%;
	color: #000;
}

#pagination ul li.active {
	color: #fff;
	background-color: var(--colorItem);
}

#pagination ul li:hover {
	cursor: pointer;
}
/* 蒙层 */
#mask {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 70;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 30%);
}
